<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<div  style="width: 100%;">
	<div id="correlationAccordion"   style="width:100%;">
		 <div id="theTitle" title="关联的公文" style="overflow:auto;padding:10px;"> 
		  
		 <div style="overflow:auto;padding:10px;">
			<table id="correlationIssueTable" style="width: 100%;"></table>
			<div id="correlationIssueToolbar">
				
				<div class="leftFloat">  
		            <a href="javascript:addCorrelationIssue();"  class="easyui-linkbutton correlationBtn" plain="true" icon="icon-add">新增</a>  
		        </div> 
		        <div class="leftFloat">  
		            <a href="javascript:delCorrelationIssue();" class="easyui-linkbutton correlationBtn" plain="true"  icon="icon-remove">删除</a>  
		        </div>  
			</div>
		</div>	 
		</div>
	</div>
	
	<div id="correlationIssueSearchDiv">
			<table  class="searchTable" cellpadding="0" cellspacing="0">
		<caption>查询条件</caption>
		<tr>
			<td class="staticTdNW">公文标题：</td>
			<td class="dynamicTdNW"  colspan="3">
				<input id="issueNameSearch" class="easyui-textbox" type="text" style="width: 300px;" />
			</td>
		</tr>
		<tr>
			
			<td class="staticTdNW" style="width: 10%">类型：</td>
			<td class="dynamicTdNW" style="width: 40%">
				<input id="objectNameSearch" class="easyui-textbox" type="text" style="width: 157px;" />
			</td>
			<td class="staticTdNW" style="width: 10%">发文文号：</td>
			<td class="dynamicTdNW" style="width: 40%">
				<input id="displayNumberSearch" class="easyui-textbox" type="text" style="width: 157px;" />
			</td>
			
		</tr>
		<tr>
			<td class="staticTdNW">拟稿单位：</td>
			<td class="dynamicTdNW">
				<input id="draftOrgSearch" class="easyui-textbox" type="text" style="width: 157px;" />
			</td>
			<td class="staticTdNW">拟稿人：</td>
			<td class="dynamicTdNW">
				<input id="drafterSearch" class="easyui-textbox" type="text" style="width: 157px;" />
			</td>
			<!-- <td class="staticTdNW">办文状态：</td>
			<td class="dynamicTdNW">
				<select id="issueStateSearch" class="easyui-combobox"  editable="false" style="min-width: 157px;">
					<option value="">请选择</option>
					<option value="doing">在办</option>
					<option value="finish">办结</option>
				</select>
			</td>	 -->
		</tr>
		<tr>
			<td class="staticTdNW">拟稿时间：</td>
			<td class="dynamicTdNW">
				<input id='createTimeStartSearch' type="text" class="easyui-datebox" editable="false" style="width: 120px;">(开始)～
				<input id='createTimeEndSearch' type="text" class="easyui-datebox" editable="false" style="width: 120px;">(结束)
			</td>
				<td class="staticTdNW">办结时间：</td>
				<td class="dynamicTdNW">
					<input id='completeTimeStartSearch' type="text" class="easyui-datebox" editable="false" style="width: 120px;">(开始)～
					<input id='completeTimeEndSearch' type="text" class="easyui-datebox" editable="false" style="width: 120px;">(结束)
				</td>
			</tr>
		<tfoot>
			<td class="footTd" colspan="4">
				<div class="inlineBlock">  
		            <a href="javascript:refreshSearchTable();" class="easyui-linkbutton" plain="true" icon="icon-search">查询</a>  
		        </div>
			</td>
		</tfoot>
	</table>
		<table id="correlationIssueSearchTable" style="width: 98%;"></table>
		<div id="correlationIssueSearchToolbar">
				<div class="captionDiv">可关联公文列表</div>
				<div class="leftFloat">  
		            <a href="javascript:bindCorrelationIssue();" class="easyui-linkbutton correlationBtn" plain="true" icon="icon-add">关联</a>  
		        </div>  
			</div>
	</div>
	<script type="text/javascript">
	<%@ include file="/pages/jsp/docIssue/correlationIssue.js" %>
	</script>
</div>